#include "material.h"

Material::Material(const Material&){
	_textured=false;
}

void Material::operator =(const Material&){

}

Material::Material(){

}

Material::~Material(){

}

void Material::texture(const std::string& name){
	_texture = ImageCache::instance().load(_path,name);
	_textured=true;
}

void Material::freeTexture(){
	ImageCache::instance().free(_texture);
}
